package com.wanmait.wanmarecruit.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
* Created by Mybatis Generator 2022/09/19
*/
@Data
@TableName(value = "province")
public class Province implements Serializable {
    /**
     * 省份id
     */
     @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 关联城市id
     */
    @TableField(value = "prov_id")
    private Integer provId;

    /**
     * 省份名称
     */
    @TableField(value = "prov_name")
    private String provName;

    /**
     * 1 - 直辖市
2 - 行政省
3 - 自治区
4 - 特别行政区
5 - 其他国家
见全局数据字典[省份类型] 

     */
    @TableField(value = "prov_type")
    private String provType;

    /**
     * 0 - 禁用
1 - 启用
     */
    @TableField(value = "prov_state")
    private String provState;

    /**
     * 排序
     */
    @TableField(value = "sort")
    private Integer sort;

    @TableField(value = "enable")
    private Boolean enable;

    private static final long serialVersionUID = 1L;

    public static final String COL_PROV_ID = "prov_id";

    public static final String COL_PROV_NAME = "prov_name";

    public static final String COL_PROV_TYPE = "prov_type";

    public static final String COL_PROV_STATE = "prov_state";

    public static final String COL_SORT = "sort";

    public static final String COL_ENABLE = "enable";
}